package com.gexin.app.request.category;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;

@Data
public class AddCategoryRequest implements Serializable {
    private String name;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long parentId;
}
